﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="AgregarEstudiante.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_16_Gestionar_Estudiante.AgregarEstudiante" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
            .tituloagregar
            {
              max-width: 100%;
              min-width: 5%;
              width: auto;
              white-space:pre-wrap;
            }

            .strongtitulo
            {
                font-size:x-large;
                text-decoration: underline;
                white-space:pre-wrap;
            }

            .tablatitulo
            {
                text-align:center;
            }

            .exito
            {
              max-width: 100%;
              min-width: 30%;
              width: auto;
              white-space:pre-wrap;
              color:Green;  
            }

            .error
            {
              max-width: 100%;
              min-width: 10%;
              width: auto;
              white-space:pre-wrap;
              color:Red; 
            }

            .tablamiga
            {
                width:100%;
                border:0;
            }
                .style15
                {
                    width: 700px;
                }
             </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

    <asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderWidth="1px">

    <table cellspacing="0px" cellpadding="0px" class="tablamiga">
        <tr>
        <td></td>
            <td>
                
            </td>
            <td  align="right">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                        Escuela:<asp:Label ID="nombreEscuela" runat="server"></asp:Label>
            </td>
        </tr>
   </table>

    <table class="tablatitulo" cellspacing="0px" cellpadding="0px"style="width: 914px">
        <tr align="center">
        <td>                  
            &nbsp;</td>
            <td class="tituloagregar" align="center">
                 <asp:Label CssClass="tituloGeneral" ID="titulo" runat="server"></asp:Label>
            </td>
            <td></td>
        </tr>
    </table>

     <table class="tablatitulo" cellspacing="0px" cellpadding="0px" style="width: 914px">
        <tr align="center">
        <td>
            </td>
            <td align="center" >
                          <asp:Label ID="Mensaje2" runat="server" Text="Text" Visible="False"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <asp:FilteredTextBoxExtender ID="filtered1" runat="server"  TargetControlID="nombreTextBox1"
     ValidChars="qwertyuiopasdfghjklñzxcvbnmQWERTYUIOPASDFGHJKLÑZXCVBNMÁÉÍÓÚáéíóú"></asp:FilteredTextBoxExtender>
      <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"  TargetControlID="apellidoTextBox2"
     ValidChars="qwertyuiopasdfghjklñzxcvbnmQWERTYUIOPASDFGHJKLÑZXCVBNMÁÉÍÓÚáéíóú"></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server"  TargetControlID="ciTextBox3"
     FilterType="Numbers"></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server"  TargetControlID="codigoArea"
     FilterType="Numbers"></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server"  TargetControlID="telTextBox7"
     FilterType="Numbers"></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server"  TargetControlID="expTextBox4"
     FilterType="Numbers"></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server"  TargetControlID="correoTextBox6"
     ValidChars="qwertyuiopasdfghjklñzxcvbnmQWERTYUIOPASDFGHJKLÑZXCVBNMÁÉÍÓÚáéíóú_-@."></asp:FilteredTextBoxExtender>
     <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server"  TargetControlID="nacTextBox5"
     ValidChars="0123456789/"></asp:FilteredTextBoxExtender>
          
         
       
    <fieldset><legend>Registro del Estudiante</legend>

        <br />

        <table class="tabladatos" align="center">

            <tr>
                <td align="left">
                    <asp:Label ID="Label5" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="labelnombre" runat="server" Text="Nombre:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                    &nbsp;</td>
                <td align="left" >
                    <asp:TextBox ID="nombreTextBox1" runat="server" CssClass="textbox"></asp:TextBox>
                </td>
                <td>
                </td>
                <td align="left" >
                    <asp:Label ID="Label1" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="LabelApellido" runat="server" Text="Apellido:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="apellidoTextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>

            <tr>
                 <td align="left">
                    <asp:Label ID="obligatorionombre" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left" >
                </td>
                <td>
                </td>
                <td align="left" >
                    <asp:Label ID="obligatorioapellido" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left" >
                </td>
            </tr>

            <tr>
                <td align="left">
                    <asp:Label ID="Label2" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="Labelci" runat="server" Text="C.I.:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left">
                   <asp:DropDownList ID="Ci" runat="server">
                        <asp:ListItem>V</asp:ListItem>
                        <asp:ListItem>E</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox ID="ciTextBox3" runat="server"  Width="100px"></asp:TextBox>
                </td>

                <td>
                </td>

                <td align="left">
                    <asp:Label ID="Label3" runat="server" CssClass="asteriscoObligatorio" Text="*" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                    Sexo:
                </td>
                <td align="left">
                   <asp:DropDownList ID="Sex" runat="server">
                        <asp:ListItem>Femenino</asp:ListItem>
                        <asp:ListItem>Masculino</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>

            <tr>
                <td align="left">
                    <asp:Label ID="obligatorioci" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>

                <td>
                </td>

                <td align="left">
                   
                </td>
                <td align="left">
                    <asp:Label ID="obligatoriosex" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
            </tr>


            <tr>
                <td align="left">
                    <asp:Label ID="Label4" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="LabelExpediente" runat="server" Text="No. Expediente:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="expTextBox4" runat="server"></asp:TextBox>
                </td>
                <td>
                </td>
                <td align="left">
                    <asp:Label ID="Label6" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="LabelFecha" runat="server" Text="Fecha Nac.:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left">

                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"  EnableScriptGlobalization="True">
                    </asp:ToolkitScriptManager>
                    <asp:TextBox ID="nacTextBox5" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="nacTextBox5">
                    </asp:CalendarExtender>
                    <asp:ConfirmButtonExtender ID="ConfirmacionBotton" runat="server" TargetControlID="Button2" ConfirmText="Seguro que desea Agregar este Estudiante">
                    </asp:ConfirmButtonExtender>

                </td>
            </tr>

             <tr>
                <td align="left">
                    <asp:Label ID="obligatorioexp" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left">
                    
                </td>
                <td>
                </td>
                <td align="left">
                   <asp:Label ID="obligatoriofecha" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left">
                </td>
            </tr>

            <tr>
                <td align="left">
                    <asp:Label ID="Label7" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="LabelCorreo" runat="server" Text="Correo Electronico" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="correoTextBox6" runat="server"></asp:TextBox>
                </td>
                <td>
                </td>
                <td align="left">
                    <asp:Label ID="Label8" runat="server" CssClass="asteriscoObligatorio" Text="*"></asp:Label>
                    <asp:Label ID="LabelTelefono" runat="server" Text="Telefono:" Font-Names="Verdana" Font-Size="12px"></asp:Label>
                </td>
                <td align="left">
                <asp:TextBox ID = "codigoArea" runat="server" Width="40px"></asp:TextBox>
                    <asp:TextBox ID="telTextBox7" runat="server" Width="100px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:Label ID="obligatoriocorreo" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left">
                </td>
                <td>
                </td>
                <td align="left">
                   <asp:Label ID="obligatoriotel" runat="server" Text="Label" Visible="False" CssClass="error"></asp:Label>
                </td>
                <td align="left">
                </td>
            </tr>
        </table>
        <br />
    </fieldset>
       
        <table style="width: 914px">
            <tr align="center">
                <td>
                </td>
                <td align="center" class="style15">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" CssClass="boton" onclick="Agregar" 
                        Text="Agregar" />
                   
                   
                </td>
                <td>
                </td>
            </tr>
        </table>
               
        <br />
    </asp:Panel>
</asp:Content>
